package com.xintonghua.hongyi.adapter;

import android.app.Activity;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;

import com.xintonghua.base.BuildConfig;
import com.xintonghua.base.adapter.BaseAdapter;
import com.xintonghua.base.utils.MyUtils;
import com.xintonghua.hongyi.R;
import com.xintonghua.hongyi.ui.home.StoreDetailActivity;

import java.util.List;

/**
 * 作者：wanxianyi
 * 时间：2018/1/12.
 * 包名：com.xintonghua.hongyi.adapter
 */

public class OrderAdapter extends BaseAdapter<String, OrderAdapter.OrderViewHolder> {

    public OrderAdapter(Activity mActivity, List<String> list) {
        super(mActivity, list);
    }

    @Override
    public OrderViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = inflater.inflate(R.layout.adapter_order, parent, false);
        return new OrderViewHolder(view);
    }

    @Override
    public void onBindViewHolder(OrderViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 5;
    }

    class OrderViewHolder extends RecyclerView.ViewHolder {

        public OrderViewHolder(View itemView) {
            super(itemView);
        }
    }
}